package com.ruanda.vo;

import com.ruanda.domain.SysMenu;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

@Schema(description =  "菜单和权限集合")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MenuAndPermsVo {

    @Schema(description = "菜单集合")
    private Set<SysMenu> menuList;

    @Schema(description = "权限集合")
    private Set<String> authorities;
}